package org.pcorp.battlespace.persistance.dao;

import java.util.List;

import org.hibernate.SessionFactory;
import org.pcorp.battlespace.persistance.modele.Equcapacite;
import org.pcorp.battlespace.persistance.modele.EqucapaciteId;
import org.springframework.beans.factory.annotation.Autowired;

public interface EqucapaciteDao {

	@Autowired
	public abstract void initDao(SessionFactory sessionFactory);

	public abstract void persist(Equcapacite transientInstance);

	public abstract void delete(Equcapacite persistentInstance);

	public abstract Equcapacite findById(EqucapaciteId id);

	public abstract List<Equcapacite> findByExample(Equcapacite instance);

}
